# -*- coding: cp866 -*-
class T3:
	def __init__(self,a):
		self.a = a ** 2

class T4:
	def __init__(self,a):
		self.a = a * 2

a = input ("enter number: ")
a = int(a)
if (-100 < a < 100):
	k = T3(a)
else:
	k = T4(a)

print k.a